import styled from "styled-components";

export const Box =styled.div`
    width: 100vw;
`

export const SearchContainer = styled.div`
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    margin:5px;
    margin-left: 0px;
    width: 9.3rem;
    height: 40px;
    border:1px solid white;
    border-radius: 20px;
    color:#7d7d7d;
    background-color: #eeeeee;
    .search_logo img{
        margin-left: 5px;
        width: 30px;
        height: 30px;
    }
    .search_input{
        font-size: large;
        margin-left: 5px;
    }
    .search_button {
    font-size: large;
    position: absolute;
    right: 24px;
    top: 78px;
    color:white;
    padding: 2px 12px;
    background-color: red;
    border: 1px solid red;
    border-radius: 10px;
    margin-top: 6px;
    } 
`

export const Container = styled.div`
    margin-top: 60px;
    z-index: 10;
    height: 84vh;
    width: 100vw;
    box-sizing: border-box;
    display: flex;
    font-size: 20px;
    .CateList { 
        padding-right: 5px;
        width: 80px;
        height: 88vh;
        border-right: 1px solid #d9d9d9;
        overflow: scroll;
        position: fixed;
        box-sizing: border-box;
    }
    .shopContainer{
        overflow: scroll;
        z-index: 2;
        width: 75vw;
        margin-left: 87px;
        .banner img{
            margin-right: 20px;
            width: 95%;
            height: 100px;
        }
        .shopBox{
            margin-top: 10px;
            .shopTile{
                font-weight: bold;
                border-bottom: 1px solid #d9d9d9;
            }
            .shopItemBox{
                display: flex;
                flex-wrap: wrap;
                justify-content: flex-start;
                align-items: center;
                .shopItem{
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    margin-right: 12px;
                    .shopImg img{
                    margin-right: 0px;
                    width: 70px;
                    height: 70px;
                    }
                    .shopDesc{
                        text-align: center;
                        font-size: 15px;
                    }
                }
               
            }
        }
    }
`

export const CateItem = styled.div`
    margin-top: 10px;
    padding: 10px 5px 5px 0px;
    font-size: 18px;
    white-space: nowrap;
    & div{
        border-left:2px solid white;
        padding-left: 5px;
    }
`